home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20031118-20041115
/
000122_visagih@mtn.co.ug_Wed Feb 25 10:17:31 2004.msg
< prev
next >
Wrap
Internet Message Format
|
2004-11-14
|
988b
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: visagih@mtn.co.ug (Hannes)
Newsgroups: comp.protocols.kermit.misc
Subject: How to check if kermit script already running
Date: 25 Feb 2004 01:00:01 -0800
Organization: http://groups.google.com
Lines: 14
Message-ID: <95d20fb2.0402250100.5773d0f2@posting.google.com>
NNTP-Posting-Host: 212.136.56.8
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1077699601 15773 127.0.0.1 (25 Feb 2004 09:00:01 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 25 Feb 2004 09:00:01 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14826
Hi all
How to check if kermit script already running ?.
in ksh
N=`ps -ef | grep "scriptname" | grep -v grep | wc -l`
if [ N -gt 0 ]; then
echo "Kermit script already running
exit
fi
Ho to do this in a kermit script ?
Thanks